package com.cnfangmao.masterdata.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.cnfangmao.masterdata.common._enum.IsSelectFieldEnum;
import com.cnfangmao.masterdata.common._enum.MasterDataStoragePeriodEnum;
import com.cnfangmao.masterdata.common._enum.OrderByEnum;
import com.cnfangmao.masterdata.common.constant.Constant;
import com.cnfangmao.masterdata.dto.PageDto;
import com.cnfangmao.masterdata.service.HistoryMasterDataManagerService;
import com.cnfangmao.masterdata.vo.MasterDataListPageVo;

/**    
 * @description: TODO   
 * @author:	chenxc   
 * @date:   2020年4月22日 下午12:38:49   
 */
@Service(Constant.HISTORY_MASTERDATA_STORAGE_ENGINE)
public class HistoryMasterDataManagerServiceImplWithMongodb extends MasterDataManagerServiceImplWithMongodb implements HistoryMasterDataManagerService {

	@Override
	public MasterDataListPageVo findPage(String metadataId, String userId, PageDto page, Map<String, Object> filterColumnMap, Map<String, IsSelectFieldEnum> selectColumnMap, Map<String, OrderByEnum> orderColumnMap) {
		this.period = MasterDataStoragePeriodEnum.HISTORY;
		return super.findPage(metadataId, userId, page, filterColumnMap, selectColumnMap, orderColumnMap);
	}
}
